/**
 * 
 */
package com.ibuonline.search.solr;

import org.springframework.context.ApplicationContext;

/**
 * @author Liuye
 * 
 */
public final class SpringContextHolder {
	private static SpringContextHolder instance = new SpringContextHolder();
	private ApplicationContext context;

	private SpringContextHolder() {

	}

	public static SpringContextHolder getInstance() {
		return instance;
	}

	/**
	 * @return the context
	 */
	public ApplicationContext getContext() {
		return context;
	}

	/**
	 * @param context
	 *            the context to set
	 */
	public void setContext(ApplicationContext context) {
		this.context = context;
	}

}
